import { post } from "../../../utils/request";
import CodeTreeNode from "../code/tree-node";
import utils from "../../../utils/utils";
const env = import.meta.env;

const apiSms = {
  querySmsListing(data?: object) {
    return post(
      env.VITE_API_ADMIN_CONTEXT_PATH + "/admin/api/sms.listing",
      data
    );
  },
  getSms(smsId: string) {
    return post(env.VITE_API_ADMIN_CONTEXT_PATH + "/admin/api/sms.get", {
      smsId: smsId,
    });
  },
};

export default apiSms;
